EmbedPress\Gutenberg\BlockManager A

Total Complexity 58
Dependencies 1
Dependents 1
Total lines 1,614
Lines of code 1,349
Logical lines of code 112
Comment lines 129
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
register_single_block()
B
43 17 46
get_nft_attributes()
A
28
1 215
register_blocks()
A
52 9 22
get_instagram_attributes()
A
35 1 132
get_embedpress_pdf_attributes()
A
35 1 123
get_embedpress_block_attributes()
S
37 1 108
ensure_default_blocks_enabled()
S
56 6 19
get_embedpress_doc_attributes()
S
41 1 79
get_youtube_attributes()
S
41 1 76
get_podcast_attributes()
S
43 1 72
get_vimeo_attributes()
S
44 1 66
get_content_protection_attributes()
S
45 1 56
get_wistia_attributes()
S
46 1 54
get_google_photos_attributes()
S
46 1 52
get_ad_manager_attributes()
S
46 1 51
get_calendly_attributes()
S
47 1 48
get_social_sharing_attributes()
S
49 1 40
__construct()
S
61 2 12
get_custom_branding_attributes()
S
56 1 23
get_youtube_block_attributes()
S
58 1 20
get_wistia_block_attributes()
S
60 1 16
get_instance()
S
71 2 6
enqueue_block_assets()
S
91 1 2
enqueue_editor_assets()
S
82 1 3
localize_editor_script()
S
91 1 2
add_block()
S
80 1 3
get_available_blocks()
S
82 1 3